package com.eastfair.messagecenter.model;

import com.eastfair.messagecenter.ContentModel;
import com.eastfair.messagecenter.enumeration.ChannelType;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author ligang
 * <p>
 * <p>
 * 邮件消息体
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class EmailContentModel extends ContentModel {
    /**
     * 消息类型 email
     */
    private String contentModelType = ChannelType.EMAIL.getCodeEn();
    /**
     * 标题
     */
    private String title;

    /**
     * 内容(可写入HTML)
     */
    private String content;


}
